<div class="title">Danh mục chỉ tiêu</div>
<div id="buttons">
	<?php echo $this->Html->link('Thêm chỉ tiêu',array('action' => 'addChiTieu'), array('class' => 'button blue','id'=> 'addChitieu'));?>
</div>
<table width="100%" cellspacing="0">
	<tr>
		<th>STT</th>
		<th>Tên chỉ tiêu</th>
		<th>Mã quốc gia</th>
		<th>Đơn vị tính</th>
		<th>Thủ tục hành chính</th>
		<th>Action</th>
	</tr>
	<?php foreach ($chitieus as $key => $chitieu):?>
	<tr>
		<td align="center"><?php echo $key+1; ?></td>
		<td><?php echo $this->Html->link($chitieu['ChiTieu']['ten'],array('action' => 'editChiTieu', $chitieu['ChiTieu']['id']));?></td>
		<td align="center"><?php echo $chitieu['ChiTieu']['ma']; ?></td>
		<td align="center"><?php echo $chitieu['ChiTieu']['don_vi_tinh']; ?></td>
		<td align="center"><?php echo $chitieu['Tthc']['ten']; ?></td>
		<td align="center"><?php echo $this->Html->link('Sửa', array('action' => 'editChiTieu', $chitieu['ChiTieu']['id']));?>
			<?php echo $this->Html->link('Xóa', array('action' => 'xoaChiTieu', $chitieu['ChiTieu']['id']),null,'Bạn có chắc chắn muốn xóa chỉ tiêu này?');?>
		</td>
	</tr>
	<?php endforeach;?>	
</table>
